package com.health.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author 黄叶
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户修改信息实体类")
public class ModifyUserInfoVo {
    @ApiModelProperty("用户头像")
    @NotBlank(message = "头像不能为空")
    private String avatar;

    @ApiModelProperty("用户昵称")
    @NotBlank(message = "昵称不能为空")
    private String nickname;

    @ApiModelProperty("用户个人介绍")
    private String intro;

    @ApiModelProperty("用户邮箱")
    private String email;
}
